﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using KPIS.GERP.GIMS.MODEL;
using KPIS.GERP.GIMS.IBLL;
using KPIS.GERP.GIMS.IDAL;
using KPIS.GERP.GIMS.DALFactory;
using KPIS.DBM;

namespace KPIS.GERP.GIMS.BLL
{
    public class ProgressPrePurchaseRequestBLL : IBLLProgressPrePurchaseRequest
    {
        private static readonly IDALProgressPrePurchaseRequest dal = DataAccess.CreateProgressPrePurchaseRequest();

        public ProgressPrePurchaseRequestBLL()
        {

        }

        public IList<PrePurchaseRequestRouteInfo> GetPrePurchaseRequestApprove(int seq)
        {
            return dal.GetPrePurchaseRequestApprove(seq);
        }

        public IList<PrePurchaseRequestRouteInfo> GetPrePurchaseRequestInform(int seq)
        {
            return dal.GetPrePurchaseRequestInform(seq);
        }

        public IList<PrePurchaseRequestRouteHistoryInfo> GetPrePurchaseRequestApproveHistory(int seq)
        {
            return dal.GetPrePurchaseRequestApproveHistory(seq);
        }

        public IList<PrePurchaseRequestRouteHistoryInfo> GetPrePurchaseRequestInformHistory(int seq)
        {
            return dal.GetPrePurchaseRequestInformHistory(seq);
        }

        public IList<PrePurchaseRequestInfo> GetPrePurchaseRequest(int seq)
        {
            return dal.GetPrePurchaseRequest(seq);
        }

        public IList<PrePurchaseRequestRouteInfo> GetPrePurchaseRequestRoute(int seq)
        {
            return dal.GetPrePurchaseRequestRoute(seq);
        }

        public IList<BidInfo> GetBid(int seq)
        {
            return dal.GetBid(seq);
        }

        public IList<BidRouteInfo> GetBidRoute(int seq)
        {
            return dal.GetBidRoute(seq);
        }

        public IList<PurchaseOrderInfo> GetPurchaseOrder(int seq)
        {
            return dal.GetPurchaseOrder(seq);
        }

        public IList<PurchaseOrderRouteInfo> GetPurchaseOrderRoute(int seq)
        {
            return dal.GetPurchaseOrderRoute(seq);
        }

        public IList<DeliveryNoteInfo> GetDeliveryNote(int seq)
        {
            return dal.GetDeliveryNote(seq);
        }

        public IList<DeliveryNoteRouteInfo> GetDeliveryNoteRoute(int seq)
        {
            return dal.GetDeliveryNoteRoute(seq);
        }
    }
}
